package gs.android.einsteinballoons;

import android.graphics.Bitmap;
import android.graphics.Canvas;

	//Super class for Balloon og Cloud
public abstract class Sprite implements Observer {
	public float x;
	public float y;
	public float speed;
	public Bitmap bitmap;
	
	public Sprite(){
	}
	
	public float getX() {
		return x;
	}

	public void setX(float x) {
		this.x = x;
	}

	public float getY() {
		return y;
	}

	public void setY(float y) {
		this.y = y;
	}

	public Bitmap getBitmap() {
		return bitmap;
	}

	public void setBitmap(Bitmap bitmap) {
		this.bitmap = bitmap;
	}
	
	public float getSpeed() {
		return speed;
	}
	
	public void setSpeed(float speed){
		this.speed = speed;
	}
	
	public abstract void onDraw(Canvas c);
}